package com.wxzz.elearing.user.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class SendCodeDto {

    @NotNull(message = "账号")
    @ApiModelProperty(value = "账号")
    private String username;

    @NotNull(message = "手机号")
    @ApiModelProperty(value = "手机号")
    private String phone;

}
